package com.ibiaoke.customer.service;

import com.ibiaoke.customer.entity.PtFightGroup;

import java.util.List;

public interface FightGroupService {


    /**
     * 保存订单
     * @param ptFightGroup
     * @return
     */
    PtFightGroup saveFightGroup(PtFightGroup ptFightGroup);

    List<PtFightGroup> fightGroup(Integer ptGoodsId, Integer kid);

    //更改金额和支付类型
    Integer updatePayTypeAndPayMoney(Integer id,Integer payType,Double payMoney);

    PtFightGroup getFightGroup(Integer customerId, Integer ptGoodsId, Integer kid);

    //删出订单
    Integer deleteFightGroup(Integer kid,Integer isDelete);

    //通过pid查询参团订单
    PtFightGroup getFightGroup(Integer pid);

    //通过kid查询参团订单集合
    List<PtFightGroup> getFightGroupByKid(Integer Kid);
}
